Utilization of the approximate location of a device determined from ambient signals

ABSTRACT

The present invention employs approximate device locations determined from changes in the sensed strength of radio signals at different locations. In one instance of the invention, the approximate device locations are based on inference procedures that are used to process ambient commercial radio signals, to estimate a location or a probability distribution over the locations of a device. In another instance of the invention, approximate device locations derived from learning and inference methods that are applied to rank vector of signal strength vectors are utilized. Moving to such rank orderings leads to methods that bypass consideration of absolute signal strengths in location calculations. The invention utilizes approximations for a device location that is based on a method that does not require a substantial number of available ambient signal strengths while still providing useful location inferences in determining locations. Several location-centric services are supported, including receipt of location-specific information such as traffic reports, emergency information, transmission about device location, and time-sensitive promotions such as discounts offered by businesses for load balancing the provision of services.

REFERENCE TO RELATED APPLICATION

This application claims the benefit of U.S. Provisional Patent Application Ser. No. 60/489,274, which was filed Jul. 22, 2003, entitled SYSTEMS AND METHODS FOR APPROXIMATING A LOCATION OF A DEVICE.

TECHNICAL FIELD

The present invention relates generally to utilizing determined locations, and more particularly to utilizing an approximate location of a device determined from ambient signal strengths.

BACKGROUND OF THE INVENTION

Computers were developed to aid people with repetitive tasks that were deemed to be extremely time consuming. Most of the early computers were used for complex mathematical problem solving. The first computing machines were extremely large compared to computers utilized today. Despite their enormous size, the early machines had vastly less computing power than today's machines. Generally speaking, the sizes of computing devices were driven by the sizes of the existing electronic components of that era. This meant that only large research facilities or big businesses could employ computing machines. As new technology allowed for smaller electronic devices to be developed, computing devices also diminished in size. Although still lacking in power by today's standards, the size of the computing machine was reduced enough that it could be placed on a typical desk. Thus, the “desktop computer” was born. This allowed users to have computing technology available in locations other than a central computing building. People found that having the capability to utilize computing technology at their work desk, rather than submitting computing problems to a central location, made them much more productive at their jobs. Eventually, the idea of moving the desktop computer to the home environment to provide even more convenience for doing work became a reality.

When the computer was brought into the home, it became obvious that there were other uses for it besides work. This allowed people to view the computer as not only a work tool, but also as a helpful device that could be used to play games, aid in learning, handle telecommunications for the home, and even control home appliances and lighting, for example. Generally speaking, however, a user was restricted to computing information available only on that computer. A game could be installed on the desktop computer and played on that computer, but one could not play others who had computers at other locations. Technology came to the rescue with a first attempt at connecting these computers utilizing telephonic modem technology. This permitted individual users to connect via direct dial-up telephone connections. This was great for local telephone calls, but enormously expensive for long distance calls. However, with the advent of the Internet, all that has changed. It provides an inexpensive means to connect computers from all over the world. This allows users to quickly and easily transmit and receive information on a global scale. Businesses fully embraced this new technology, creating “e-commerce.” Now users can send and receive information and even buy products and services online. This means of accessing a wealth of information and easily processing transactions online has become a staple for our society.

It stands to reason that once people enjoy the benefits of a tool like the Internet that they would want to be able to utilize the tool wherever they go. The development of laptop computers has helped to allow a more mobile access point to the Internet. However, laptops still require some type of connection, whether by wire or wireless, to a means of connecting to the Internet. This greatly limits their flexibility for a typical user who is always “on the go.” Technology has continued to respond by developing computers that require a device to be placed on the body along with large batteries and glasses that provide a viewing screen. Although much more portable, the bulkiness of these devices limit their usefulness, and the reduction in device size (over a typical desktop computer) generally limits its computing power. Additionally, because of its intricacies, it is a device that a user must choose to wear, knowing its limitations and restrictions and being careful not to damage the delicate equipment.

As society embraces new technology, it begins to demand more from it. Initial users of computing devices were thankful for the ability to alleviate repetitive tasks from their workload. They were more than happy to walk to a building housing the computing machine, so they would not have to do the repetitive tasks. Since society has grown accustomed to having computers readily available at work and home, it now demands that computing information be available everywhere. In some places, kiosks have sprung up at airports and shopping malls, so that people can easily access information. Even this has not been enough for some users who attempt to obtain the smallest and lightest computing devices that allow them access anywhere they can carry them. Such things as personal digital assistants (PDA's) and ultra miniature laptops often attempt to provide users with information while they are mobile.

Despite the diminutive size of computing devices available today, their operational concept remains generally the same as for the first invented computing device. A user “comes to” the device and asks it a question. The device then attempts to provide the user with the information. Progress has been made in “push technology” where a user pre-programs a device to retrieve desired information. However, this is time consuming and typically the programming is done assuming a user is stationary. Although a user wants the time and temperature of the city where they live when they are at home, when they travel to another city, that information becomes irrelevant to the user at that time. In an attempt to overcome this problem, technology has begun to focus on solving the problem of finding the location of a user. The most obvious choice was to utilize Global Positioning Systems or GPS. This is a military satellite location system designed to aid the military in troop movements and equipment locations. The government provided to the public a less resolute version of tracking from their satellites. Although not as accurate as the military version, it is very accurate compared to conventional means. The first civilian devices that utilized satellite tracking were bulky and hard to use. Eventually, GPS units shrunk tremendously in size and could be easily transported. Units were even developed that plugged directly into mobile computers, such as the laptop. This combination allowed users to track their progress such as on street maps displayed on their laptops while they were driving. Unfortunately, lugging a laptop, hooking up all the connections to the GPS antennae, and finding power for all the equipment, made utilizing this technology burdensome. Additionally, by the nature of its technology, GPS only works when it can directly access a minimum number of satellites, limiting its use in congested areas such as in larger cities with skyscrapers and especially when a person is indoors.

Users are gradually demanding that they have pertinent information available to them at all times without requiring a burdensome device. For example, a frequent traveler would like to have weather information, airport information, or car rental information available to them no matter where they are located. Gas stations, restaurants, and other businesses would like to reach those travelers and let them know where they are located at the right moment. This passing of information allows a user to gain more beneficial use of their time and resources despite a lack of prior knowledge of an area. A business person could also benefit by being able to quickly ascertain area resources for a new client. Providing information on an as-needed basis is the most cost-effective means of increasing business.

SUMMARY OF THE INVENTION

The following presents a simplified summary of the invention in order to provide a basic understanding of some aspects of the invention. This summary is not an extensive overview of the invention. It is not intended to identify key/critical elements of the invention or to delineate the scope of the invention. Its sole purpose is to present some concepts of the invention in a simplified form as a prelude to the more detailed description that is presented later.

The present invention relates generally to utilizing determined locations, and more particularly to utilizing an approximate location of a device determined from multiple ambient signal strengths from emitting entities, such as, for example, base stations, towers, mobile platforms, building antennae, and the like. A monotonically increasing nature between actual signal strengths and signal strength indicators provided by technology, such as, for example, Microsoft's Smart Personal Object Technology (SPOT), is leveraged to determine a device location utilized by the present invention. In one aspect of the present invention, a location determined, in part, by employing a rank vector to insulate results from a monotonically increasing function of measured signal strength vectors is utilized. This desensitizes the present invention from relying on location determinations that require absolute signal strengths. Several location-centric services are supported by the present invention, including receipt of location-specific information such as traffic reports, emergency information, transmission about device location, and time-sensitive promotions such as discounts offered by businesses for load balancing the provision of services.

To the accomplishment of the foregoing and related ends, certain illustrative aspects of the invention are described herein in connection with the following description and the annexed drawings. These aspects are indicative, however, of but a few of the various ways in which the principles of the invention may be employed and the present invention is intended to include all such aspects and their equivalents. Other advantages and novel features of the invention may become apparent from the following detailed description of the invention when considered in conjunction with the drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an information system in accordance with an aspect of the present invention.

FIG. 2 is a block diagram of a location system in accordance with an aspect of the present invention.

FIG. 3 is an illustration of a device employing a location system in accordance with an aspect of the present invention.

FIG. 4 is a graph illustrating accuracy of signal strengths in accordance with an aspect of the present invention.

FIG. 5 is a graph illustrating monotonicity of signal strengths in accordance with an aspect of the present invention.

FIG. 6 is a three-dimensional graph illustrating hash code permutations in accordance with an aspect of the present invention.

FIG. 7 is an illustration of a map utilized in accordance with an aspect of the present invention.

FIG. 8 is a graph illustrating radio signal strength indicator values in accordance with an aspect of the present invention.

FIG. 9 is an example of classification accuracies in accordance with an aspect of the present invention.

FIG. 10 is a histogram of Spearman's correlations between measured signal strength and simulated signal strength in accordance with an aspect of the present invention.

FIG. 11 is a table of simulated signal strengths for radio stations in the Seattle area in accordance with an aspect of the present invention.

FIG. 12 is a histogram of Spearman's correlations between measured signal strength and simulated signal strength of seven chosen stations in accordance with an aspect of the present invention.

FIG. 13 is a map illustrating a test area in accordance with an aspect of the present invention.

FIG. 14 is a graph illustrating a relation between cell width and median error in accordance with an aspect of the present invention.

FIG. 15 is graphs illustrating probability density function and cumulative density function errors for a given cell width in accordance with an aspect of the present invention.

FIG. 16 is a graph illustrating a relation between correlating threshold and median error in accordance with an aspect of the present invention.

FIG. 17 is a graph illustrating a relation between window size and median error in accordance with an aspect of the present invention.

FIG. 18 is a flow diagram of a method of locating a device in accordance with an aspect of the present invention.

FIG. 19 is another flow diagram of a method of locating a device in accordance with an aspect of the present invention.

FIG. 20 is a flow diagram of a method of training a locating device in accordance with an aspect of the present invention.

FIG. 21 is a flow diagram of a method of smoothing histograms utilized for locating a device in accordance with an aspect of the present invention.

FIG. 22 is a flow diagram of a method of smoothing location inferences in accordance with an aspect of the present invention.

FIG. 23 is a flow diagram of a method of optimizing ambient signal sets for utilization in locating a device in accordance with an aspect of the present invention.

FIG. 24 illustrates an example operating environment in which the present invention can function.

FIG. 25 illustrates another example operating environment in which the present invention can function.

DETAILED DESCRIPTION OF THE INVENTION

The present invention is now described with reference to the drawings, wherein like reference numerals are used to refer to like elements throughout. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It may be evident, however, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to facilitate describing the present invention.

As used in this application, the term “component” is intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a server and the server can be a computer component. One or more components may reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers. A “thread” is the entity within a process that the operating system kernel schedules for execution. As is well known in the art, each thread has an associated “context” which is the volatile data associated with the execution of the thread. A thread's context includes the contents of system registers and the virtual address belonging to the thread's process. Thus, the actual data comprising a thread's context varies as it executes.

As used herein, the term “inference” refers generally to the process of reasoning about or inferring states of the system, environment, and/or user from a set of observations as captured via events and/or data. Inference can be employed to identify a specific context or action, or can generate a probability distribution over states, for example. The inference can be probabilistic—that is, the computation of a probability distribution over states of interest based on a consideration of data and events. Inference can also refer to techniques employed for composing higher-level events from a set of events and/or data. Such inference results in the construction of new events or actions from a set of observed events and/or stored event data, whether or not the events are correlated in close temporal proximity, and whether the events and data come from one or several event and data sources.

The present invention discloses an approach to identifying coarse location information, indoors and/or outdoors, via an analysis of ambient signals from multiple signal emitters such as, for example, commercial radio stations and the like. In one instance of the present invention, it operates with extremely small amounts of power, making it a feasible source of location information for small, low-power devices that provide a form of signal strength indication such as, for example, Microsoft's SPOT. SPOT centers on the development of a wristwatch-sized device with an ability to receive notifications via digital data encoded within regular FM radio broadcasts. A device and/or method employing the present invention enables building location-specific notification services utilizing, in one instance, the preexisting ability of SPOT devices to receive FM and to measure signal strengths. In one instance, the present invention utilizes an algorithm entitled the “RightSPOT” algorithm. The present invention is also insensitive to variations caused by manufacturing differences in the construction of devices employing the present invention.

Location awareness in portable devices allows for new mechanisms for sales and marketing. For example, users may wish to subscribe to services that provide discounts and promotions that are relevant for the location they are in or near. Retailers, such as restauranteurs, may wish to employ such location-sensitive alerts about time-limited offers to do load-balancing, so as to fill an empty restaurant given a slow evening. Location-sensitive filtering can limit promotions only to clients who are close enough to a place of business to provide such responsive load balancing while limiting the numbers of alerts by only relaying those that might be relevant during a short time frame.

In FIG. 1, a block diagram of an information system 100 in accordance with an aspect of the present invention is shown. The information system 100 is comprised of an information system component 102 having an information component 104, a locating system 106, and a signal component 108. A signal 110 is received by the signal component 108 and processed into a signal strength indicator. This processing generally requires an analog to digital process. The signal component 108 can be capable of processing various signals, such as ambient radio waves and the like, including but not limited to, frequency modulated (FM) signals. Once a signal has been converted into a signal indicator, it is passed to the locating system 106. The locating system 106 processes the signal indicators and provides a location to the information component 104. The information component 104 utilizes the location to derive a set of relevant data. The relevancy of the data can be strictly based on location and/or a combination of location and user preferences (via a user input, not shown). The data can also be related to information from downloadable lookup tables that facilitate the process. Once the data is selected, it is provided to a user as “desired relative information” 112 via a user interface, such as a graphical user interface (GUI) and/or a text-based user interface and the like.

In another instance of the present invention, the locating system 106 stores the location. This allows location data to be utilized at a later point in time such as, for example, for desensitizing location due to device orientation (e.g., averaging the last “X” number of location inferences). Tracking systems (e.g., vehicle, package, personnel, equipment tracking and the like) can also employ this type of historical location data. Thus, the present invention can be utilized, for example, to facilitate police such as in determining where a stolen object such as a car has been, or to help a package delivery service determine how a particular package was transported after a delay in delivery was found. Parents could also employ an instance of the present invention to learn where their children have been for a previous period of time. Likewise, employers can track employees and equipment to enhance performance. The present invention can also be utilized to track animals such as pets and the like. Computers can also report their locations automatically utilizing the present invention. This allows a computer to configure itself automatically based upon its location for such things as time zones, countries, and languages and the like.

In yet another instance of the present invention, a means is provided to manage limited resources based upon location. The limited resources can include, but are not limited to, memory, power, and processing capability and the like. For example, if data storage capability is limited, location can be used to discard stored data such as a map of an area that is not in the proximity of the current location of the device. This allows storage space for additional information about the present location that could not otherwise be stored. In still yet another instance of the present invention, the location information can be utilized to facilitate other entities such as hardware devices and software programs and the like. These can include, but are not limited to, navigation systems, mapping software, tracking software, and locating software and the like. Likewise, an instance of the present invention can be utilized in emergency-based devices for providing assistance in crisis situations such as medical emergencies, fires, floods, and infrastructure repair. Information such as water sources for fire control, building construction layouts, medical service locations, underground utilities, and weather reports and the like can be provided. The present invention can also be utilized to disseminate, based on location, time-sensitive information, advertising, weather reports, proximity information of an entity and the like. Proximity information of an entity can include, but is not limited to, buddy list type services for being notified when a friend or buddy is close to a device's location. Similarly, a device could also be notified when other vehicles are in the area. This information can be utilized both as a positive effect to cluster objects and/or as a negative effect to warn of objects to allow distancing or disassociation to occur.

In still yet another instance of the present invention, a means is provided to group items based on an event location rather than timing of an event. For example, if a person took photographs while on a vacation that took them to the Grand Canyon then to Las Vegas and then back to the Grand Canyon, they could have their photographs automatically sorted via location (e.g., all Grand Canyon shots together) rather than via the actual sequence in which they were taken. Since the present invention can also be utilized indoors, it can group items from indoor events as well as outdoor events. For such applications, it is often unnecessary to have detailed latitude and longitudinal coordinates, but to simply know which city or portion of a city that pictures were taken in. Such applications may even keep the coarse location implicit, and use these properties for clustering and/or grouping items into distinct sets for viewing and/or sorting.

Referring to FIG. 2, a block diagram of a location system 200 in accordance with an aspect of the present invention is illustrated. The location system 200 is comprised of a locating component 202. The locating component 202 receives training data 204 utilized to train the locating component 202. The training data 204 can be comprised of hash code permutations and the like for various locality specific signals and the like. This data 204 can be calculated from information obtained via physically traveling to a location to obtain signal characteristics and/or via simulation software that provides the desired signal characteristics. In other instances of the present invention, training data is not utilized. A signal strength indicator input 206 allows the locating component 202 to determine its location based on signal strength indicators. The indicators are not required to be absolute in terms of actual signal strength. The locating component 202 processes the signal strength input 206 in a desensitized means with regard to absolute value to provide a location 208. The locating component 202 is generally comprised of an analysis component (not shown) that computes a rank vector which provides a means to rank signal strength indicators without regard to absolute values.

Turning to FIG. 3, an illustration of a SPOT device 300 is shown. The SPOT device 300 includes a wearable device 302, a weather forecast display 304, a traffic display 306, a restaurant display 308, and an entertainment display 310. One of the promises of ubiquitous computing is to connect users to important information as they move around in the world. One instance of the present invention leverages the small, low-power device platform of SPOT devices. SPOT provides users a means to receive critical notifications on a wristwatch-sized device as depicted in FIG. 3. The SPOT device is designed to listen for digitally encoded data such as news stories, weather forecasts, personal messages, traffic updates, and retail directories and the like transmitted on standard FM radio carrier frequencies, on bandwidth that is specially leased from the host radio stations. The device has the potential for connecting millions of people to valuable notifications and alerts.

Beyond the small-size form factor, a feature of the SPOT device is long battery life of the kind associated with digital watches, maximizing the time between charges. Thus, the SPOT device is constructed to minimize size and power consumption. The present invention is utilized, in one instance, to provide an extremely low-power method for identifying the location of devices such as, for example, SPOT devices. Since a SPOT device, utilizing the present invention, can determine location information, it supports new kinds of experiences, such as allowing the device to listen only for alerts that are relevant to particular locations. Previous basic methods for localizing data for transmission to particular devices relied on the limited range of FM radio signals. Thus, only devices within range of a particular radio tower received data relevant to that tower's coverage area. However, for certain messages, this location resolution is too coarse. Traffic updates, limited time discount offers, and lists of nearby attractions need finer location filtering than that provided by FM radio station coverage areas. Although GPS is a candidate for providing more precise location information, a GPS receiver would consume precious battery power and add volume and expense to an already densely packed device. Additionally; GPS is limited to outside usage where a direct link to satellites can be established.

In one instance of the present invention, a means is provided for localizing a device based on an analysis of ambient signal strengths from existing signal frequency emitters such as, for example, FM radio stations. Systems and methods of the present invention which employ algorithms such as “RightSPOT,” can build on the SPOT technology that has already been developed for receiving notifications, including hardware and software for measuring signal strength on arbitrary frequencies in the FM band.

The present invention, in one instance, utilizes a vector of radio signal strengths taken from different frequencies to identify location. Each time a location is to be inferred, the device scans through a set of FM frequencies and records the signal strength of each one. A standard SPOT device scans through multiple FM radio stations and measures signal strength in order to find a sufficiently powerful one transmitting SPOT data. In one instance of the present invention, a Received Signal Strength Indicator (RSSI) of SPOT is provided by an analogue-to-digital converter (ADC) in the device to the present invention. Raw digital measurements for each frequency are scaled and then averaged, for example, over 20 readings for 13 milliseconds. The ADC and associated circuitry are generally not calibrated to measure RSSI in any certain units or to be consistent from device to device. One skilled in the art can appreciate that although the above example utilizes SPOT technology, such as RSSI, other means for obtaining a signal strength indicator are compatible with the present invention. The present invention can utilize any signal strength indicator, whether with units or without units, that provides relative signal strengths.

In FIG. 4, a graph 400 illustrating signal strengths in accordance with an aspect of the present invention is shown. The vertical axis represents an input signal strength, and the horizontal axis is the measured signal strength (RSSI) from a device such as, for example, a SPOT device that provides RSSI. The curve 402 represents a fitted mathematical function to the measured data points represented by small triangles 404. The expected inconsistency among devices for measures of RSSI provides an obstacle as such variations make difficult attempts to generalize for reuse a single mapping between signal strengths and locations. One possible solution to this problem is to specially calibrate each device a priori using a source of known FM transmission strengths. The result of one of these tests is shown in FIG. 4, showing how the RSSI readings of a particular device vary with a known transmitted signal strength. The data for this test was taken in a Faraday cage, but the procedure was deemed too costly for mass production. Another solution is to train each device at different locations, gathering signal strength vectors in known places to be used in the same device later. Regular consumers would likely not tolerate such a training regimen.

In addition to manufacturing variations, signal strengths are also affected by the device's orientation, its surroundings, and the adjustment of an attaching means, such as a wrist band and the like, which can also serve as a signal receiving antenna. It would be nearly impossible to anticipate all these variable factors affecting absolute signal strength. If absolute signal strengths can be anticipated, a probabilistic framework like that of Roos, T., P. Myllymaki, and H. Tirri, in A Statistical Modeling Approach to Location Estimation; IEEE Transactions on Mobile Computing, 2002; 1(1): p. 59–69 would be appropriate. However, given the impracticality of discovering each device's response characteristics, an alternative method of comparing signal strengths is needed.

Rather than depend on absolute signal strength as an indicator of position, the present invention employs transformations of signal strengths that provide more robust inferences. In general tests, devices employing the present invention, such as, for example, the RightSPOT algorithm, gave results of a ranking of a set of radio stations by their measured RSSI as described infra. Ultimately, the devices could not be depended upon to give consistent absolute signal strengths. Due to this fact, an alternate assumption is utilized based on the fact that relative signal strengths are relatively consistent (i.e., an ordered list of radio stations sorted by signal strength does not vary greatly for a given location). More precisely, it is assumed that a relationship between input signal strength and measured RSSI is monotonically increasing. In FIG. 5, a graph 500 illustrating monotonicity of signal strengths in accordance with an aspect of the present invention is shown. The graph 500 shows that if a mobile device's measured RSSI is a monotonically increasing function of input signal strength, a signal strength order of inputs is also preserved. For instance, if A<B<C, these values transformed through differing RSSI-measuring functions are maintained in a substantially similar signal strength order. This allows the present invention to operate with a wide variety of devices in spite of device-to-device variations in how they measure signal strengths.

The present invention, in one instance, employs an algorithm that infers a location of a device by scanning a list of n radio frequencies (such as FM radio frequencies and the like), f=(f₁, f₂, . . . , f_(n)) resulting in a corresponding vector of measured signal strengths, s=(s₁, s₂, . . . , s_(n)). A sort routine is then utilized to compute a rank vector of the signal strengths, v=(r₁, r₂, . . . , r_(n)) in ascending order, where each r_(i) gives the rank of the corresponding s_(i) in s. For example, if a signal strength vector is s=(12, 40, 38, 10), a corresponding rank vector is v=(2, 4, 3, 1). It should be noted that the rank vector is insensitive to any monotonically increasing function of the elements of s, which makes the algorithm robust to variations in how different devices measure signal strength. Thus, the present invention does not require absolute signal strength to determine location of a device.

As a further example, the radio frequencies can represent different radio stations which can be identified by an index [1 . . . n]. Measuring RSSI of each station results in a set of ordered pairs giving a station index and signal strength of each radio station: {(1, s₁), (2, s₂), (n, s_(n))}. This set of radio station strength tuples is then sorted by signal strength to get a rank vector. For example, suppose n=3 and scan results are {(1, 40), (2, 30), (3, 35)}. Sorting this set of ordered pairs on signal strength gives {(2, 30), (3, 3), (1, 40)}. A rank vector is then the radio station indices taken in signal strength order, i.e., v=(2, 3, 1), indicating that s₂<s₃<s₁. Equal signal strengths can be resolved, for example, by arbitrarily sorting, first detected sorting, most frequently detected sorting, and the like.

For n radio stations, there are n! possible rank vectors, which are permutations of integers 1, 2, . . . , n. Each rank vector can be mapped to an integer r ε {0, 1, . . . , n!−1} using a mixed-radix representation of the integers as described by Knuth, D.; Seminumerical Algorithms; in The Art of Computer Programming; 1981; Addison-Wesley: Reading, Massachusetts; p. 64 (Algorithm P). Thus, a unique hash code is generated for each permutation of signal strengths.

The present invention's classification scheme is motivated by an assumption that different locations will show different relative signal strengths. Ideally, each location would map to a single, unique value of r. In reality, due to noise, derived from such factors as a local tilt and position of a receiving unit, such as, for example, a SPOT antenna, changes in relative paths to ambient signal emitters based on different configurations and geometries associated with buildings and geographical terrain, each location produces a distribution of different r's.

It is to be appreciated that classification in accordance with various aspects of the present invention can employ a probabilistic and/or statistical-based analysis (e.g., factoring into the analysis utilities and costs) to prognose or infer an action that a user desires to be automatically performed. A classifier can be a function that maps an input attribute vector, x=(x₁, x₂, x₃, . . . , Xn), to a confidence that the input belongs to a class-that is, f(x)=confidence(class). For example, a support vector machine (SVM) classifier can be employed—an SVM generally operates by finding a dynamically changing hypersurface in the space of possible inputs. Other directed and undirected models classification approaches include, e.g., naïve Bayes, Bayesian networks, decision trees, and probabilistic classification models providing different patterns of independence can be employed. Classification as used herein also is inclusive of statistical regression that is utilized to develop models of priority.

Turning to FIG. 6, a three-dimensional graph 600 illustrating hash code permutations in accordance with an aspect of the present invention is depicted. The graph 600 is comprised of a normalized histogram axis 602, a location axis 604, and a derived permutation hash code axis 606. In one instance of the present invention, for example, for training a system, a receiving device, such as, for example, a SPOT device, is brought to each of L locations, gathering hash codes r_(i) ^((l)), where l=1, 2, . . . , L indexes over the locations and i=1, 2, . . . , N_(l) indexes over the hash codes observed at location l. For each location, a normalized histogram of the hash codes is constructed to approximate a discrete probability distribution of hash codes seen at that point, p(r|l). An example of these normalized histograms for six locations and three frequencies is shown in FIG. 6.

Given observation likelihoods p(r|l), and an observation R*, a probability of being in any of the L locations is computed using Bayes rule:

$\begin{matrix} {{p\left( l \middle| r^{*} \right)} = \frac{{p\left( r^{*} \middle| l \right)}{p(l)}}{\sum\limits_{l^{\prime} = 1}^{L}{{p\left( r^{*} \middle| l^{\prime} \right)}{p\left( l^{\prime} \right)}}}} & (1) \end{matrix}$ Here p(l) is an a priori probability of being at location l. Since no specific prior knowledge of the device's location exists, a uniform distribution is assumed, setting p(l)=1/L. Rather than compute likelihoods, non-normalized posteriors are directly compared. A classifier, such as, for example, a Bayes classifier, identifies a class with a maximum a posteriori probability, i.e.:

$\begin{matrix} {l^{*} = {{\underset{l = {1\ldots\; L}}{\arg\;\max}\;{p\left( l \middle| r^{*} \right)}}\; = {\underset{l = {1\ldots\; L}}{\arg\;\max}\;{p\left( r^{*} \middle| l \right)}}}} & (2) \end{matrix}$ Algorithmically, this means that for an observation r*, a normalized histogram is consulted (e.g., FIG. 6), looking up values of p(r*|l) over a full range of locations lε {1, 2, . . . , L}, and taking a location l with a largest value of p(r*|l).

As an example of employing one instance of the present invention, the following test is described. Three SPOT watches were selected at random from a laboratory's store of test devices. No effort was made to choose watches that gave consistent signal strengths, and no effort was made to calibrate the watches with respect to an absolute signal source or with respect to each other. This simulates a typical production run of such devices, considering the economic infeasibility of performing testing to calibrate the devices.

Referring to FIG. 7, an illustration of a map 700 utilized in accordance with an aspect of the present invention is shown. The map 700 is comprised of six locations 702–712 representing suburbs of Seattle. Each device was programmed to measure signal strengths of 32 different local FM radio stations. The devices were then transported to six different suburbs in the Seattle area, logging all 32 signal strengths, taking one measure of each station per second. In each suburb, an average of about 720 readings were taken (˜10 minutes) while moving around the suburb's retail core. The retail core was selected as compelling applications for one instance of the present invention involve, for example, retail businesses sending out time-sensitive offers and listing of local attractions.

In FIG. 8, a graph 800 illustrating radio signal strength indicator values in accordance with an aspect of the present invention is depicted. The graph 800 is comprised of raw RSSI data 802 and median filtered data 804. Raw RSSI data from the devices was found to be noisy, as shown in FIG. 8, so a windowed median filter was applied to the data, replacing each RSSI with a median of itself and a preceding 29 unfiltered values. One skilled in the art can appreciate that other filtering means can be implemented in place of the windowed median filter.

Testing was done by alternately picking data from one of the three devices as the basis for normalized histograms and testing with data from the other two. This was a more realistic test than merely testing each device against itself, because ultimately the devices, in one instance of the present invention, depend on one pre-programmed set of histograms for determining their location.

Turning to FIG. 9, an example 900 of classification accuracies in accordance with an aspect of the present invention is illustrated. The example 900 is comprised of an ambient signal emitter quantity 902, a subset of ambient signal emitters 904, and a classification accuracy result 906. This shows how often the device was correctly classified into one of the six suburbs used for testing. In an effort to minimize the storage and computational burden of location determination, experimentation was accomplished, such as, for example, using a much reduced subset of the 32 recorded radio stations. For each test of n radio stations, a set of

$\quad\begin{pmatrix} 32 \\ n \end{pmatrix}$ different combinations of stations to use for classifying location were examined. The results, in terms of classification accuracy, are shown in FIG. 9. Thus, the present invention can be utilized with fewer ambient signal emitters and still be utilized to locate a device.

The reported accuracy is the fraction of correct inferences made over all tests where one device was held out for making histograms and the other two used for testing. For n≦5 all possible combinations can be exhaustively tested. For n>5 a random subset of 10,000 combinations was tested. This explains why the classify accuracy goes down when moving from n=5 to n=6 stations; it is likely that a best combination via the simulation-based selection of a random subset for n=6 was not found. The best classification accuracy is 81.7% using n=8 radio stations. It should be noted that this level of location accuracy exploitation was done in an opportunistic manner utilizing ambient signal emitters (e.g., radio transmitters and the like) and utilizing receivers that were not intended for providing location information.

This example demonstrates the feasibility of using existing ambient signal emitters, such as, for example, FM radio signals, to localize a device down to a suburb utilizing one instance of the present invention. By employing existing technology, such as, for example, SPOT devices, with the present invention, existing hardware can be leveraged to measure signal strengths, such as, for example, FM radio signal strengths, so that the capability for localization, in one instance of the present invention, only requires the addition of a small amount of software to an existing configuration. Different devices measure signal strengths differently, and signal strengths are also affected by many other variables. The present invention employing, for example, a Bayesian classification algorithm, does not utilize absolute signal strengths, but instead utilizes a ranking of signal strengths to facilitate in ensuring robustness across devices and other variables.

Obviously, to infer a location from a rank hash code, there needs to be a relationship between location and hash codes. One way to ascertain this relationship, as described supra, is to physically visit locations on the ground and record signal strengths. However, for general utilization, this is tedious and requires maintenance work if a radio station changes its transmitter's power and/or location. Thus, the present invention can also be employed to anticipate signal strength characteristics of different locations without actually visiting them to obtain signal characteristics or “training data.” Rather than make a large number of physical measurements, RadioSoft's ComStudy software (see generally, Internet website http://www.radiosoft.com) and the like is utilized to generate simulated FM radio signal strength maps. Such a simulation can also facilitate in determining a good subset of radio stations to listen to for best localization. Methodologies for optimal usage of radio strength maps, includes the harnessing of probabilistic methods to learn how the reliability and potential biases of simulations varies from actual received data based on such features as topology, geometric relationships between topology and/or transmitters, and the presence of buildings and other man-made structures. For example, we can train statistical classifiers for reliability and/or bias based on a collection of data about the differences in simulated radio strengths and actual detected radio strengths and harness such classifiers to develop confidences and/or corrections in radio map tables and radio strength ordering functions.

Also, notions of persistence of location can be utilized to fill in gaps in confidence that may show up. For example, if a device is not confident in a particular location, assume that device is closest to a location last sensed with confidence if the time is not great enough to allow for distant travel.

The ComStudy software supports many radio propagation models that can be utilized to predict FM radio maps. The Longley-Rice model, (see, P. L. Rice, A. G. Longley, K. A. Norton, and Barsis, A. P.; Transmission Loss Predictions for Tropospheric Communication Circuits; National Bureau of Standards Technical Note 101, January, 1967) was chosen in this example of an instance of the present invention, for its known accuracy. It is generally the most accurate of the choices since it incorporates reflection, refraction (bending of the rays as they rise through the atmosphere), and several types of diffraction (spilling of signal over hills). The model utilizes a terrain map to simulate the effect of hills and valleys.

ComStudy parameterizes each radio station transmitter by its frequency, transmitting power, and location (latitude, longitude). For each transmitter, a field strength matrix is generated. The matrix is a grid of rectangular cells spread over a chosen area on the ground, with each cell containing signal level information from a transmitter in question. The width of the cells was chosen to be 6 arc seconds (about 185 meters north-south and 124 meters east-west). This is equivalent to having 40 points (cells) per square kilometer. ComStudy then applies a chosen propagation model to calculate field strength in the center of each cell. In this example, maps were generated for 28 local FM radio stations in the Seattle, Wash. area.

Before utilizing simulated signal strength maps for location inference, a determination was made as to the confidence level that the maps accurately predicted rank vectors. To accomplish this, a SPOT watch was programmed to measure signal strengths of the same 28 FM radio stations for the generated maps. The SPOT watch was then transported around the area, logging the signal strengths of all 28 stations, taking one 28-station scan per second, resulting in about 3920 readings for each station. Latitude and longitude was also logged from a GPS receiver. To assess accuracy of the simulation, a Spearman rank correlation (see, William H. Press, Saul A. Teukolsky, William T. Vetterling, and Brian P. Flannery; Numerical Recipes in C; 1992, Cambridge Press) was calculated between the ranked radio stations from the measured signal strengths and from the simulated signal strengths, utilizing the GPS readings to determine which simulated strengths to use from the maps. The Spearman rank correlation was utilized instead of Kendall's because differences between data values ranked further apart are given more weight with Spearman. Both correlations range over [−1 . . . 1], with “1” indicating equivalent rankings and “−1” indicating opposite rankings.

In FIG. 10, a histogram 1000 of Spearman's correlations between measured signal strength and simulated signal strength in accordance with an aspect of the present invention is depicted. The histogram 1000 shows that more than 95% of the measured rankings were correlated with the simulated rankings with a factor of at least 0.6 on a scale of [−1 . . . 1]. This indicates that the simulated results are sufficiently accurate for determining a location of a SPOT watch. Even better correlation is obtainable if the number of stations is reduced as discussed in more detail infra.

With 28 available radio stations, 28!≈3.05×10²⁹ different rank vectors are provided, which demands a huge computational and storage overhead. However, many of those stations are broadcast from the same tower with some having similar transmission power. Measuring signal strengths from co-located, similarly powered stations is redundant. To eliminate these redundancies, the 28 stations are divided into groups of approximately similar stations. The following criteria are then utilized to assess similarity:

-   -   1. Calculate Pearson's correlation coefficient (see, id) between         all pairs of stations based on spatially corresponding points on         simulated signal strength maps. (Note: Pearson's correlation         coefficient is a standard linear correlation coefficient, not a         rank correlation.)     -   2. Find groups of stations that are correlated with each other         greater than a certain threshold ρ. For this example of an         instance of the present invention, ρ=0.95 is utilized.     -   3. From each correlated group, select a station with a highest         average signal strength to represent a group.

Applying the above criteria to the simulated signal strength of the Seattle area (the criteria was also applied to actual measurements from a SPOT watch and resulted in approximately the same results with τ=0.9.), it was found that there are seven groups of correlated stations with Pearson's correlation factor of at least 0.95. In FIG. 11, a table 1100 of simulated signal strengths for radio stations in the Seattle area in accordance with an aspect of the present invention is depicted. The table 1100 shows seven groups of stations along with frequencies, means, and variances of correlated stations inside each group. Selected stations from each group are shown with bold-faced type.

Applying the above criteria, the number of stations is reduced from 28 to 7. This means instead of having 28! different ranking vectors, there are just 7!=5040 ranking vectors, a reduction of 25 orders of magnitude. This has a significantly positive effect on computational and memory performance for techniques utilized for location determination. This is particularly important for resource-limited devices. In FIG. 12, a histogram 1200 of Spearman's correlations between measured signal strength and simulated signal strength of seven chosen stations in accordance with an aspect of the present invention is illustrated. The histogram 1200 shows a significant improvement over the similar histogram 1000 with 28 stations (FIG. 10), with an even higher correlation between measured and simulated signal strengths. More than 95% of the measured signal strength rank vectors are correlated with the simulated signal strength with a factor of 0.8 or above. This further emphasizes that the simulated results are valid to employ for determining a location of a SPOT watch and similar devices and the like.

Each cell of the simulated signal strength maps is converted to a rank hash code, which is ultimately utilized for inferring location from measured rank hash codes. The simulated signal strength maps are generated on a grid with cells about 124 meters wide (east-west) and 185 meters high (north-south). This is near the limit of the ComStudy's maximum simulation resolution, and it is much finer than required for this example of the present invention. Furthermore, this fine resolution provides 442,806 cells (811 east-west by 546 north-south) to represent a test area around Seattle. The rank hash code ranges over [0 . . . 7!−1], meaning that each fine cell needs a 13-bit integer to represent its hash code. The radio map would then need 811×546×13/8≈0.7 MB to represent the fine grid of hash codes for the test area. Generally speaking, this is too large for small, resource-limited devices.

To alleviate this storage problem and to represent hash codes at a reasonable resolution, a coarse grid is created over a fine grid and each coarse cell is represented as a histogram of rank hash codes from its underlying fine cells. The size of the coarse cells was varied, but a typical size is 3 km×3 km which covers 16×24=384 fine cells. Each coarse cell's histogram is normalized to give an estimate of a probability distribution of rank hash codes for a cell. Mathematically, this likelihood estimate is P′(r|c_(i)), where r ε [0 . . . n!−1] represents a rank hash code of n radio stations and c_(i), i ε [0 . . . m], represents one of m coarse cells.

In practice, the histograms are sparsely populated because of a large number of possible rank hash codes. Due to noise, orientation of a device, and unsimulated radio propagation effects, rank hash codes in a cell is often measured for which a simulated likelihood P′(r|c_(i)) is zero. Thus, a likelihood estimate is smoothed to fill in gaps. Unfortunately, simple smoothing over rank hash codes r is not reasonable, since adjacent hash codes do not necessarily represent similar rank vectors. Instead, smoothing is accomplished by replacing a value in each histogram bin by a maximum value over all bins whose Spearman correlation coefficient with a bin in question is above a chosen threshold ρ_(s). In equation form, the (unnormalized) smoothed likelihood is computed as:

$\begin{matrix} {{P_{u}\left( r \middle| c \right)} = {\max\limits_{r^{\prime}:{{S{({r,r^{\prime}})}} \geq \rho_{s}}}\;{P^{\prime}\left( r^{\prime} \middle| c \right)}}} & (3) \end{matrix}$ Here S(r, r′), is a Spearman correlation coefficient between rank vectors represented by hash codes r and r′. P_(u)(r|c_(i)) is then normalized over r into P(r|c_(i)) to give a smoothed likelihood function of a rank hash code given a coarse cell. Intuitively, ρ_(s), serves as a smoothing parameter, with higher values giving more smoothing.

Given a measured rank hash code r, the probability of being in a cell c_(k) is given by Bayes rule:

$\begin{matrix} {{P\left( c_{k} \middle| r \right)} = \frac{{P\left( r \middle| c_{k} \right)}{P\left( c_{k} \right)}}{\sum\limits_{i = 1}^{m}{{P\left( r \middle| c_{i} \right)}{P\left( c_{i} \right)}}}} & (4) \end{matrix}$ Given r, this denominator is constant, and no a priori assumptions are made on which of the m cells a device is in, meaning P(c_(k))=1/m. Thus, a maximum likelihood estimate is selected as a location of the device:

$\begin{matrix} {c = {\underset{c_{k}:{k \in {\lbrack{1\ldots\; m}\rbrack}}}{\arg\;\max}\;{P\left( r \middle| c_{k} \right)}}} & (5) \end{matrix}$ In actual practice, these results are smoothed by taking a most frequently inferred cell over a last K signal strength scans (temporal window size). This helps keep a location inference from jumping unreasonably from place to place, although an excessive value of K can cause the inference to be too “sticky.”

The supra example was performed in the greater Seattle area with a SPOT watch programmed to measure signal strengths of a reduced set of 7 local FM radio stations. The SPOT watch was transported around the area, logging signal strengths of all 7 stations, taking one 7-station scan per second, resulting in about 3920 readings for each station along with GPS location readings. Meanwhile, a simulated radio map for the 7 stations was generated. In FIG. 13, a map 1300 illustrating a test area in accordance with an aspect of the present invention is depicted. The map 1300 shows a drive path 1302 along with a coarse grid 1304 with cell width 7 km that was used for inferring a location. The drive path 1302 included both highways and local roads.

The example illustrates that a device's location can be determined with the present invention down to an accuracy of less than 10 miles (˜16 kilometers), utilizing simple histograms built on top of a simulated radio map. Following is a discussion on effect of correlation threshold ρ_(s), temporal window size K, and grid cell width w, on the accuracy of an estimated location.

The example shows that a coarse grid cell width w is an important parameter in terms of affecting accuracy of a location inference. Increasing the coarse cell width has an advantage of having more fine grid cells in a histogram estimate of P′(r|c) and, hence, more information about ranking probability distributions. Also, increasing a cell width decreases an overall number of cells in the grid and thus reduces computational overhead. However, as the cell width increases, location resolution naturally decreases. In FIG. 14, a graph 1400 illustrating a relation between cell width and median error, for ρ_(s)=0.9 and K=5, in accordance with an aspect of the present invention is shown. From the graph 1400, it can be seen that there are three values (1, 7, 11 kilometers) that result in a lower median error, around 10 miles (˜16 kilometers). In FIG. 15, graphs 1500, 1502 illustrate probability density function and cumulative density function errors for a given cell width in accordance with an aspect of the present invention. The error probability density function (PDF) graph 1500 and cumulative density function (CDF) graph 1502 correspond to a cell width w=1 kilometer, ρ_(s)=0.9 and K=5.

The second factor that affects accuracy of an inference algorithm is a correlation smoothing threshold ρ_(s). As discussed in supra, the correlation threshold was introduced to smooth a likelihood estimate. Therefore, increasing ρ_(s) will result in filling more gaps in a histogram-based estimate of P′(r|c_(i)). However, increasing ρ_(s) above a certain value will result in too much smoothing, decreasing the distinguishability of different locations. In FIG. 16, a graph 1600 illustrating a relation between correlating threshold and median error in accordance with an aspect of the present invention is depicted. The graph 1600 shows that there is a global minimum of the median error at ρ_(s)=0.9, where w=1 kilometer and K=5 (A graph interpolation anomaly is responsible for a false dip at around ρ_(s)=0.95.).

Another factor that affects accuracy is the temporal window size K. Because radio stations were scanned at 1 Hz, K corresponds to a number of seconds of data utilized to infer position. Clearly, increasing K enhances accuracy; however, it also increases memory storage and computational power requirements. In FIG. 17, a graph 1700 illustrating a relation between window size and median error in accordance with an aspect of the present invention is illustrated. It is clear from the graph 1700 that a median error of less than 10 miles (˜16 kilometers) is obtained with a window size K≧10, where w=1 kilometer and ρ_(s)=0.9.

The present invention provide a means for inferring a location of a device based on ambient signal strengths such as FM radio signal strengths and the like. Its advantages include a wide coverage of FM radio, spanning indoor and outdoor locations, and the readiness of a target device such as a SPOT device and the like for measuring radio signal strengths, providing an accuracy of several miles. The present invention is robust to measurement differences between devices, relying on inferences based on rankings of ambient signals rather than on their absolute signal strengths. No manual survey of signal strength as a function of location is necessary when employing simulated signal strengths. By utilizing smoothed histograms of rank hash codes, a device's location can be inferred down to an accuracy of less than 10 miles (˜16 kilometers). The extremely low resource utilizing employed by the present invention allows it to provide functionality to resource limited devices such as small, wearable devices.

In yet another instance of the present invention, a method is employed to identify which radio station histograms to transmit to a device, given a limited storage capacity of certain devices. In still yet another instance of the present invention, classification accuracy can be boosted by smoothing position inferences over time, exploiting knowledge about location adjacencies, and adhering to constraints about how fast devices are expected to move between locations. Still yet another instance of the present invention employs decision-theoretic approaches to minimizing misdiagnosis given probability distributions over locations. Once again, still yet another instance of the present invention employs other fundamental representations that capture properties of relative signal strength beyond rank orderings, including methods that capture strength ratios and relationships among groups of signal emitters clustered by strengths.

In view of the exemplary systems shown and described above, methodologies that may be implemented in accordance with the present invention will be better appreciated with reference to the flow charts of FIGS. 18–23. While, for purposes of simplicity of explanation, the methodologies are shown and described as a series of blocks, it is to be understood and appreciated that the present invention is not limited by the order of the blocks, as some blocks may, in accordance with the present invention, occur in different orders and/or concurrently with other blocks from that shown and described herein. Moreover, not all illustrated blocks may be required to implement the methodologies in accordance with the present invention.

The invention may be described in the general context of computer-executable instructions, such as program modules, executed by one or more components. Generally, program modules include routines, programs, objects, data structures, etc., that perform particular tasks or implement particular abstract data types. Typically, the functionality of the program modules may be combined or distributed as desired in various instances of the present invention.

Turning to FIG. 18, a flow diagram of a method 1800 of locating a device in accordance with an aspect of the present invention is depicted. The method 1800 starts 1802 by providing signal strength indicators 1804. The indicators are generally representations of signals such as ambient signals and the like from signal sources such as towers, building antennae, and mobile units (including terrain and aeronautical units and the like) and the like. The signals can include, but are not limited to, frequency modulated signals, amplitude modulated signals, ultra high-frequency signals, very high-frequency signals, and the like and even more directional signals such as upper microwave signals and the like. The present invention can also be adapted to operate with higher frequency-receiving devices capable of indicating signal strengths of infrared, x-ray, and cosmic ray and the like. Similarly, lower frequency receiving devices which provide reception for ultra-sonics, sonics, and infra-sonics and the like are operable with the present invention as well. The present invention can also account for time-varying signals and signals emitted from mobile platforms. Terrain-sensitive propagation models can also be utilized to account for variations in signals due to terrain obstructions. Likewise, other propagation models can be utilized to account for such things as reflections from large structures such as buildings, monuments, and man-made objects and the like. By utilizing velocity prediction models, the present invention can also be utilized to determine the velocity of a device as well as its location.

The signal strength indicators are not limited to only those indicators that provide accurate strengths in an absolute in scale. The present invention can accept signal strength indicators without any units associated with the indicators. Once the signal strength indicators are provided, a location is determined based upon the provided signal strength indicators 1806, ending the flow 1808. The determination is generally based upon an algorithm that allows a distribution to be leveraged to provide a location through inferencing. In one aspect of the present invention, a Bayesian classification algorithm is utilized that does not rely upon absolute signal strengths. Instead, a ranking of signal strengths is employed to facilitate in ensuring that variations such as signal detection errors, calibration errors, and unknown signal strength indicator sources and the like do not impact the location determination.

In FIG. 19, another flow diagram of a method 1900 of locating a device in accordance with an aspect of the present invention is shown. The method 1900 starts 1902 by obtaining ambient signals such as, for example, radio frequency signals from such sources, for example, as commercial FM radio towers and/or stations 1904. A list of the radio frequencies is then scanned 1906 and measured signal strength vectors are determined 1908. The relative strengths are then sorted and a rank vector is computed for the frequencies 1910. Hash codes are then generated based on permutations of the signal strengths 1912. Hash codes are then obtained from each desired location to train a location system 1914. Normalized histograms are then constructed from the hash codes 1916. A probability is then computed via, for example, Bayes rule 1918. A classifier, such as, for example, a Bayesian classifier, is then utilized to identify a maximum a posteriori probability, indicating that a device is most likely in that particular location 1920, ending the flow 1922.

Referring to FIG. 20, a flow diagram of a method 2000 of training a locating device in accordance with an aspect of the present invention is illustrated. The method 2000 starts 2002 by positioning a device that receives ambient signals in a particular location 2004. Ambient signals, such as radio frequency signals and the like, are each scanned multiple times to obtain their signal strengths 2006. Rank information, such as rank hash codes and the like, is then computed for each scan 2008. A normalized histogram of rank information, such as the rank hash codes, is generated for the particular location and stored 2010. A determination is then made as to whether another location is desired to obtain data from 2012. If yes, the device is transported to another location 2004 and the method 2000 starts again. If no more locations are desired, the flow ends 2014.

In FIG. 21, a flow diagram of a method 2100 of smoothing histograms utilized for locating a device in accordance with an aspect of the present invention is shown. The method 2100 starts 2102 by computing coarse grid cell histograms based on underlying fine grid cells 2104. By utilizing a coarse grid instead of a fine grid provided by simulation software such as ComStudy and the like, a reasonable resolution is obtained without causing heavy storage and processing burdens on an underlying device. The coarse grid cell histograms are then normalized 2106. This provides an estimate of a probability distribution of rank hash codes for a cell. A correlation threshold value is then selected 2108. This permits control of smoothing of sparsely populated histograms, with higher values giving more smoothing. Histogram bins with Spearman correlation coefficients above the correlation threshold value are then determined 2110. A maximum value over all histogram bins that are above the correlation threshold value is calculated 2112. Each histogram bin above the correlation threshold value has its value replaced by the maximum value 2114, ending the flow 2116. In equation form, the smoothed likelihood is computed as:

$\begin{matrix} {{P_{u}\left( r \middle| c \right)} = {\max\limits_{r^{\prime}:{{S{({r,r^{\prime}})}} \geq \rho_{s}}}\;{P^{\prime}\left( r^{\prime} \middle| c \right)}}} & (3) \end{matrix}$ where S(r, r′) is a Spearman correlation coefficient between rank vectors represented by hash codes r and r′. P_(u)(r|c_(i)) is then normalized over r into P(r|c_(i)) to give a smoothed likelihood function of a rank hash code given a coarse cell.

Referring to FIG. 22, a flow diagram of a method 2200 of smoothing location inferences in accordance with an aspect of the present invention is depicted. The method 2200 starts 2202 by obtaining a history of signal strength scans 2204. A location inference smoothing value “K” (temporal window size) is then selected 2206. A most frequently inferred location over the last “K” signal strength scans is then determined 2208, ending the flow 2210. The most frequently inferred location becomes the location utilized for an underlying device. This is frequently done to prevent the device from “jumping” from location to location due to orientation movement of the device and other environmental influences. By smoothing the inferenced location, a substantially steady value is shown by the device.

Moving on to FIG. 23, a flow diagram of a method 2300 of optimizing ambient signal sets for utilization in locating a device in accordance with an aspect of the present invention is shown. The method 2300 starts 2302 by obtaining a set of ambient signals and their respective signal strengths 2304. A Pearson's correlation coefficient is then calculated between all pairs of signal sources in the set 2306. In one instance of the present invention, pairing of signal sources is based upon spatially corresponding points on a simulated signal strength map and the like. Pearson's correlation coefficient represents a standard linear correlation coefficient and not a rank correlation. A correlation threshold value is then selected 2308. A typical value for this correlation threshold in one instance of the present invention is approximately 0.95. Signal sources that correlate greater than the selected correlation threshold value are grouped together 2310. A signal with the highest average signal strength of each group is then selected to represent that group 2312, ending the flow 2314. This method 2300 reduces the number of rank vectors to be utilized in locating a device by several orders of magnitude. It 2300 is also particularly useful when ambient signals originate from a single source, eliminating source redundancy.

Instances of the present invention can include inclusion of a means for accepting input and/or feedback from users either on a programming device and/or an endpoint device itself. Such input can include regions that a user wishes to exclude from inference, e.g., “only consider this particular subset of areas within this greater city region; I will not be traveling in other areas.” Such constraints can enhance the accuracy of the inferences of a system by narrowing the scope of locations. In another instance of the present invention, users can input feedback about the accuracy of a system, e.g., “this is incorrect; this is correct,” e.g., via simple button pushes. Such feedback can be used to enhance the accuracy of future inferences.

In order to provide additional context for implementing various aspects of the present invention, FIG. 24 and the following discussion is intended to provide a brief, general description of a suitable computing environment 2400 in which the various aspects of the present invention may be implemented. While the invention has been described above in the general context of computer-executable instructions of a computer program that runs on a local computer and/or remote computer, those skilled in the art will recognize that the invention also may be implemented in combination with other program modules. Generally, program modules include routines, programs, components, data structures, etc., that perform particular tasks and/or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the inventive methods may be practiced with other computer system configurations, including single-processor or multi-processor computer systems, minicomputers, mainframe computers, as well as personal computers, hand-held computing devices, microprocessor-based and/or programmable consumer electronics, and the like, each of which may operatively communicate with one or more associated devices. The illustrated aspects of the invention may also be practiced in distributed computing environments where certain tasks are performed by remote processing devices that are linked through a communications network. However, some, if not all, aspects of the invention may be practiced on stand-alone computers. In a distributed computing environment, program modules may be located in local and/or remote memory storage devices.

As used in this application, the term “component” is intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and a computer. By way of illustration, an application running on a server and/or the server can be a component. In addition, a component may include one or more subcomponents.

With reference to FIG. 24, an exemplary system environment 2400 for implementing the various aspects of the invention includes a conventional computer 2402, including a processing unit 2404, a system memory 2406, and a system bus 2408 that couples various system components, including the system memory, to the processing unit 2404. The processing unit 2404 may be any commercially available or proprietary processor. In addition, the processing unit may be implemented as multi-processor formed of more than one processor, such as may be connected in parallel.

The system bus 2408 may be any of several types of bus structure including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of conventional bus architectures such as PCI, VESA, Microchannel, ISA, and EISA, to name a few. The system memory 2406 includes read only memory (ROM) 2410 and random access memory (RAM) 2412. A basic input/output system (BIOS) 2414, containing the basic routines that help to transfer information between elements within the computer 2402, such as during start-up, is stored in ROM 2410.

The computer 2402 also may include, for example, a hard disk drive 2416, a magnetic disk drive 2418, e.g., to read from or write to a removable disk 2420, and an optical disk drive 2422, e.g., for reading from or writing to a CD-ROM disk 2424 or other optical media. The hard disk drive 2416, magnetic disk drive 2418, and optical disk drive 2422 are connected to the system bus 2408 by a hard disk drive interface 2426, a magnetic disk drive interface 2428, and an optical drive interface 2430, respectively. The drives 2416–2422 and their associated computer-readable media provide nonvolatile storage of data, data structures, computer-executable instructions, etc. for the computer 2402. Although the description of computer-readable media above refers to a hard disk, a removable magnetic disk and a CD, it should be appreciated by those skilled in the art that other types of media which are readable by a computer, such as magnetic cassettes, flash memory cards, digital video disks, Bernoulli cartridges, and the like, can also be used in the exemplary operating environment 2400, and further that any such media may contain computer-executable instructions for performing the methods of the present invention.

A number of program modules may be stored in the drives 2416–2422 and RAM 2412, including an operating system 2432, one or more application programs 2434, other program modules 2436, and program data 2438. The operating system 2432 may be any suitable operating system or combination of operating systems. By way of example, the application programs 2434 and program modules 2436 can include inferring a location of a device in accordance with an aspect of the present invention.

A user can enter commands and information into the computer 2402 through one or more user input devices, such as a keyboard 2440 and a pointing device (e.g., a mouse 2442). Other input devices (not shown) may include a microphone, a joystick, a game pad, a satellite dish, wireless remote, a scanner, or the like. These and other input devices are often connected to the processing unit 2404 through a serial port interface 2444 that is coupled to the system bus 2408, but may be connected by other interfaces, such as a parallel port, a game port or a universal serial bus (USB). A monitor 2446 or other type of display device is also connected to the system bus 2408 via an interface, such as a video adapter 2448. In addition to the monitor 2446, the computer 2402 may include other peripheral output devices (not shown), such as speakers, printers, etc.

It is to be appreciated that the computer 2402 can operate in a networked environment using logical connections to one or more remote computers 2460. The remote computer 2460 may be a workstation, a server computer, a router, a peer device or other common network node, and typically includes many or all of the elements described relative to the computer 2402, although, for purposes of brevity, only a memory storage device 2462 is illustrated in FIG. 24. The logical connections depicted in FIG. 24 can include a local area network (LAN) 2464 and a wide area network (WAN) 2466. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets and the Internet.

When used in a LAN networking environment, for example, the computer 2402 is connected to the local network 2464 through a network interface or adapter 2468. When used in a WAN networking environment, the computer 2402 typically includes a modem (e.g., telephone, DSL, cable, etc.) 2470, or is connected to a communications server on the LAN, or has other means for establishing communications over the WAN 2466, such as the Internet. The modem 2470, which can be internal or external relative to the computer 2402, is connected to the system bus 2408 via the serial port interface 2444. In a networked environment, program modules (including application programs 2434) and/or program data 2438 can be stored in the remote memory storage device 2462. It will be appreciated that the network connections shown are exemplary, and other means (e.g., wired or wireless) of establishing a communications link between the computers 2402 and 2460 can be used when carrying out an aspect of the present invention.

In accordance with the practices of persons skilled in the art of computer programming, the present invention has been described with reference to acts and symbolic representations of operations that are performed by a computer, such as the computer 2402 or remote computer 2460, unless otherwise indicated. Such acts and operations are sometimes referred to as being computer-executed. It will be appreciated that the acts and symbolically represented operations include the manipulation by the processing unit 2404 of electrical signals representing data bits which causes a resulting transformation or reduction of the electrical signal representation, and the maintenance of data bits at memory locations in the memory system (including the system memory 2406, hard drive 2416, floppy disks 2420, CD-ROM 2424, and remote memory 2462) to thereby reconfigure or otherwise alter the computer system's operation, as well as other processing of signals. The memory locations where such data bits are maintained are physical locations that have particular electrical, magnetic, or optical properties corresponding to the data bits.

FIG. 25 is another block diagram of a sample computing environment 2500 with which the present invention can interact. The system 2500 further illustrates a system that includes one or more client(s) 2502. The client(s) 2502 can be hardware and/or software (e.g., threads, processes, computing devices). The system 2500 also includes one or more server(s) 2504. The server(s) 2504 can also be hardware and/or software (e.g., threads, processes, computing devices). The server(s) 2504 can house threads to perform transformations by employing the present invention, for example. One possible communication between a client 2502 and a server 2504 may be in the form of a data packet adapted to be transmitted between two or more computer processes. The system 2500 includes a communication framework 2508 that can be employed to facilitate communications between the client(s) 2502 and the server(s) 2504. The client(s) 2502 are operably connected to one or more client data store(s) 2510 that can be employed to store information local to the client(s) 2502. Similarly, the server(s) 2504 are operably connected to one or more server data store(s) 2506 that can be employed to store information local to the server(s) 2504.

In one instance of the present invention, a data packet transmitted between two or more computer components that facilitate locating a device, the data packet is comprised of, at least in part, information relating to a locating system that determines, based on at least one ambient frequency signal indicator, an approximation of a location of a device.

In another instance of the present invention, a computer readable medium storing computer executable components of a system for facilitating locating a device is comprised of, at least in part, a locating system that determines, based on at least one ambient frequency signal indicator, an approximation of a location of a device.

In yet another instance of the present invention, a location is determined based upon signal strength indicators based upon mobile and/or stationary signal emitters. Data transmitted from mobile units is utilized to provide stabilization for determining a location.

In still yet another instance of the present invention, radiation patterns of signal emitters are utilized in the determination of a location.

It is to be appreciated that the systems and/or methods of the present invention can be utilized in locating systems facilitating computer components and non-computer related components alike. Further, those skilled in the art will recognize that the systems and/or methods of the present invention are employable in a vast array of electronic related technologies, including, but not limited to, computers, servers and/or handheld electronic devices, affixable electronic devices (e.g., magnetic attachment, hook and loop attachment, hook attachment, adhesive attachment, etc.), wearable electronic devices (e.g., watches, eye glasses, clothing items, hearing aids, necklaces, bracelets, belts, ankle bracelets, tie tacks, rings, etc.), and the like.

What has been described above includes examples of the present invention. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the present invention, but one of ordinary skill in the art may recognize that many further combinations and permutations of the present invention are possible. Accordingly, the present invention is intended to embrace all such alterations, modifications and variations that fall within the spirit and scope of the appended claims. Furthermore, to the extent that the term “includes” is used in either the detailed description or the claims, such term is intended to be inclusive in a manner similar to the term “comprising” as “comprising” is interpreted when employed as a transitional word in a claim. 

1. A system that utilizes approximately determined locations of a device, the system is recorded on a computer-readable medium and capable of execution by a computer, comprising: a signal processor that receives a plurality of ambient signals; an analysis processor that infers at least one approximate location of a device based, in part, on relative signal strengths of at least a subset of the ambient signals, the analysis processor employs an algorithm that infers the approximate location of the device by scanning a list of radio frequencies, resulting in a corresponding vector of measured signal strengths, s=(s₁, s₂, . . . , s_(n)), and utilizing a sort routine to compute a rank vector of the signal strengths, v=(r₁, r₂, . . . , r_(n)) in ascending order,where each r_(i) gives the rank of the corresponding s_(i) in s; wherein the rank vector is insensitive to any monotonically increasing function of elements of s, such that the rank vector does not require absolute signal strength to determine the approximate location of the device; and a location association processor that utilizes the approximate location of the device to provide geocentric device specific resource management that includes automatically configuring the device with a time zone and a language based on the approximate location.
 2. The system of claim 1, the approximate location of the device utilized to provide memory management for storage of geocentric related data.
 3. The system of claim 1, the approximate location of the device facilitating at least one entity utilizing, at least in part, proximity data.
 4. The system of claim 3, the entity comprising at least one selected from the group consisting of at least one software application and at least one computing device.
 5. The system of claim 4, the proximity data utilized to establish at least one selected from the group consisting of a time zone for utilization by the computing device, a country location for utilization by the computing device, and a language for utilization by the computing device.
 6. The system of claim 1, the inferred approximate location facilitating, at least in part, at least one navigation system.
 7. The system of claim 6, the navigation system comprising a terrain vehicle navigation system.
 8. The system of claim 1, the inferred approximate location facilitating, at least in part, in emergency-based devices for providing information during a crisis.
 9. The system of claim 8, the emergency-based devices providing at least one selected from the group consisting of information for radio frequency dissemination of a device's location, stolen item recovery assistance, lost person location assistance, emergency maps for locating water sources, local building structural drawings, medical service locations, utility locations, and weather reports.
 10. The system of claim 1, the inferred approximate location facilitating in distribution of location-specific information.
 11. The system of claim 10, the location-specific information comprising at least one selected from the group consisting of time-sensitive information, advertising related information, weather related information, emergency related information, and proximity information of at least one entity.
 12. The system of claim 11, the entity comprising a predetermined person.
 13. The system of claim 11, the proximity information utilized to promote at least one entity selected from the group consisting of clustering of entities and disassociate entities.
 14. The system of claim 1, the inferred approximate location utilized to facilitate, at least in part, in locating computing devices.
 15. The system of claim 1, the inferred approximate location utilized for logging historical locations of a device.
 16. The system of claim 1, the inferred approximate location facilitates grouping at least one item based on location of an event.
 17. The system of claim 16, the event occurring indoors.
 18. The system of claim 16, the event comprising capturing an image.
 19. The system of claim 18, the image comprising at least one selected from the group consisting of a motionless image and a motion image.
 20. The system of claim 19, the image comprising a digital image.
 21. A method for utilizing an approximately determined location, comprising: receiving a plurality of ambient signal strengths; determining an approximate location of a device based, in part, upon relative signal strengths of at least a subset of the ambient signal strengths ascertained via employment of an algorithm that infers the approximate location of the device by scanning a list of radio frequencies, resulting in a corresponding vector of measured signal strengths, s=(s₁, s₂, . . . , s_(n)), and utilizing a sort routine to compute a rank vector of the signal strengths, v=(r₁, r₂, . . . , r_(n)) in ascending order, where each r_(i) gives the rank of the corresponding s_(i) in s; wherein the rank vector is insensitive to any monotonically increasing function of elements of s, such that the rank vector does not require absolute signal strength to determine the approximate location of the device; employing the approximate location of the device to provide time-sensitive information related to at least one location; and instigating location-based device specific resource management functionality based at least in part on the approximate location, the resource management functionally includes disseminating time-sensitive information and proximity information related to disparate devices.
 22. The method of claim 21, the time-sensitive information comprising at least one selected from the group consisting of time-sensitive advertising and time-sensitive alerts.
 23. The method of claim 22, the time-sensitive advertising comprising, at least in part, a redemption code for an offer.
 24. The method of claim 22, the time-sensitive alerts comprising, at least in part, transmission of a displayable numeric code for facilitating redemption of an offer. 